using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;
using BySoft.Server.Common.Schema;

namespace BySoft.Server.Common.Entity
{
	[Serializable]
	public class MdCustomerEntity : EntityBase
	{
		public MdCustomerTable TableSchema
		{
			get
			{
				return (MdCustomerTable)_tableSchema;
			}
		}

		public MdCustomerEntity()
		{
			_tableSchema = MdCustomerTable.Current;
		}

		#region 属性列表
		
		public String CustomerID
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CUSTOMERID));} 

			
			set{ SetData(MdCustomerTable.C_CUSTOMERID, value); }
		}

		
		public String CustomerName
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CUSTOMERNAME));} 

			
			set{ SetData(MdCustomerTable.C_CUSTOMERNAME, value); }
		}

		
		public String Addr
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_ADDR));} 

			
			set{ SetData(MdCustomerTable.C_ADDR, value); }
		}

		
		public String CustomerFrom
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CUSTOMERFROM));} 

			
			set{ SetData(MdCustomerTable.C_CUSTOMERFROM, value); }
		}

		
		public String CustomerScaler
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CUSTOMERSCALER));} 

			
			set{ SetData(MdCustomerTable.C_CUSTOMERSCALER, value); }
		}

		
		public String Attention
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_ATTENTION));} 

			
			set{ SetData(MdCustomerTable.C_ATTENTION, value); }
		}

		
		public String MasterPerson
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_MASTERPERSON));} 

			
			set{ SetData(MdCustomerTable.C_MASTERPERSON, value); }
		}

		
		public String Status
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_STATUS));} 

			
			set{ SetData(MdCustomerTable.C_STATUS, value); }
		}

		
		public DateTime? CreateDate
		{

			
			get{ return GetData<DateTime>(MdCustomerTable.C_CREATEDATE); }
			
			
			set{ SetData(MdCustomerTable.C_CREATEDATE, value); }
		}

		
		public String ModifyUserName
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_MODIFYUSERNAME));} 

			
			set{ SetData(MdCustomerTable.C_MODIFYUSERNAME, value); }
		}

		
		public String CreateUserID
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CREATEUSERID));} 

			
			set{ SetData(MdCustomerTable.C_CREATEUSERID, value); }
		}

		
		public String CreateUserName
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_CREATEUSERNAME));} 

			
			set{ SetData(MdCustomerTable.C_CREATEUSERNAME, value); }
		}

		
		public DateTime? ModifyDate
		{

			
			get{ return GetData<DateTime>(MdCustomerTable.C_MODIFYDATE); }
			
			
			set{ SetData(MdCustomerTable.C_MODIFYDATE, value); }
		}

		
		public String ModifyUserID
		{

							
			get{ return Convert.ToString(GetData(MdCustomerTable.C_MODIFYUSERID));} 

			
			set{ SetData(MdCustomerTable.C_MODIFYUSERID, value); }
		}

		
		#endregion
	}
}

